package com.mtw.bbs.article.pojo.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.mtw.bbs.common.core.vo.BaseFileVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 简单文章信息
 */
@Data
public class SimpleArticleVo {


    @ApiModelProperty(value = "主键id")
    private String id;


    @ApiModelProperty(value = "内容")
    private String content;


    @ApiModelProperty(value = "外链")
    private String outsideLink;


    @ApiModelProperty(value = "审核状态")
    private Integer approveStatus;


    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createdDate;


    @ApiModelProperty(value = "附件列表")
    private List<BaseFileVo> fileList;


}
